class UserMailer < ApplicationMailer
default from: 'notification@example.com'

	def activate_email(user)
		@user = user
		@url='http://example.com/login'
		mail(to: @user.email,subject: 'xblog验证邮件')
	end
	def reset_email(user)
		@user= user
		mail(to: @user,subject: '密码重置')
	end

end
